package com.itools.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itools.core.pojo.SysUser;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @project: itools-backend
 * @description:
 * @author: XUCHANG
 * @create: 2021-03-29 13:57
 */
@Repository
public interface UserInfoMapper extends BaseMapper<SysUser> {

    @Select("select * from tb_user where username=#{username}")
    SysUser getByUsername(String username);
}
